package avicti.bdp.dto.org;

import java.util.Objects;


/**
 *
 * @Description: 附件信息
 * @CopyRightInformation : 金航数码科技有限责任公司
 * @ApplicationName: DAQS
 * @Title: AttachFileInfo.java
 * @Package: avicit.common.dto.org
 * @author: huyong
 * @date: 2021年11月16日 上午10:45:21
 * @version: V1.0
 */
public class AttachmentInfo {
	/**
	 * 附件名称
	 */
	private String attachmentName;
	/**
	 * 附件OSSID
	 */
	private String ossId;
	/**
	 * 附件明细表ID
	 */
	private String boId;
	/**
	 * 附件密级
	 */
	private String secretLevel;

	public String getAttachmentName() {
		return attachmentName;
	}

	public void setAttachmentName(String attachmentName) {
		this.attachmentName = attachmentName;
	}

	public String getOssId() {
		return ossId;
	}

	public void setOssId(String ossId) {
		this.ossId = ossId;
	}

	public String getBoId() {
		return boId;
	}

	public void setBoId(String boId) {
		this.boId = boId;
	}

	public String getSecretLevel() {
		return secretLevel;
	}

	public void setSecretLevel(String secretLevel) {
		this.secretLevel = secretLevel;
	}

	@Override
	public boolean equals(java.lang.Object o) {
		if (this == o) {
			return true;
		}
		if (o == null || getClass() != o.getClass()) {
			return false;
		}
		AttachmentInfo attachmentInfo = (AttachmentInfo) o;
		return Objects.equals(this.attachmentName, attachmentInfo.attachmentName) &&  Objects.equals(this.secretLevel, attachmentInfo.secretLevel);
	}

	@Override
	public int hashCode() {
		return Objects.hash(attachmentName,  secretLevel);
	}

	@Override
	public String toString() {
		StringBuilder sb = new StringBuilder();
		sb.append("{\n");
		sb.append("attachmentName: ").append(toIndentedString(attachmentName)).append("\n");
		sb.append("secretLevel: ").append(toIndentedString(secretLevel)).append("\n");
		sb.append("}");
		return sb.toString();
	}

	/**
	 * Convert the given object to string with each line indented by 4 spaces
	 * (except the first line).
	 */
	private String toIndentedString(java.lang.Object o) {
		if (o == null) {
			return "null";
		}
		return o.toString().replace("\n", "\n    ");
	}

}
